#pragma once
#include "transformnode.h"

class RotationNode :
	public TransformNode
{
public:
	RotationNode(void);
	RotationNode(D3DXVECTOR3* axis, float angle);
	RotationNode(float yaw, float pitch, float roll);
	~RotationNode(void);
	void setYPR(float yaw, float pitch, float roll);
	float getYaw();
	float getPitch();
	float getRoll();

private:
	float fAngle;
	float fYaw;
	float fPitch;
	float fRoll;
	bool axisMode;
	D3DXVECTOR3* pvAxis;
	void Transform(LPD3DXMATRIXSTACK mStack);
};
